package com.jkgl.service;

import org.springframework.data.redis.connection.stream.ObjectRecord;

import java.util.concurrent.CompletableFuture;

public interface SendService {
    boolean sendError(ObjectRecord<String, String> messageBody);
    boolean sendError(Object object,String mess);


    boolean sendNoticeToUser(ObjectRecord<String, String> message);

    boolean sendUserURL(ObjectRecord<String, String> message);
}
